Optimal. Leaf size=152 \[ \frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}}+\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {5 \sqrt {d^2-e^2 x^2}}{2 d^5 x^2}+\frac {8 e \sqrt {d^2-e^2 x^2}}{3 d^6 x}-\frac {5 e^2 \tanh ^{-1}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{2 d^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 152, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.259, Rules used = {871, 837, 849,
821, 272, 65, 214} \begin {gather*} \frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}+\frac {8 e \sqrt {d^2-e^2 x^2}}{3 d^6 x}-\frac {5 e^2 \tanh ^{-1}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{2 d^6}-\frac {5 \sqrt {d^2-e^2 x^2}}{2 d^5 x^2}+\frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 214
Rule 272
Rule 821
Rule 837
Rule 849
Rule 871
Rubi steps
\begin {align*} \int \frac {1}{x^3 (d+e x) \left (d^2-e^2 x^2\right )^{3/2}} \, dx &=\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {\int \frac {-5 d e^2+4 e^3 x}{x^3 \left (d^2-e^2 x^2\right )^{3/2}} \, dx}{3 d^2 e^2}\\ &=\frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}}+\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {\int \frac {-15 d^3 e^4+8 d^2 e^5 x}{x^3 \sqrt {d^2-e^2 x^2}} \, dx}{3 d^6 e^4}\\ &=\frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}}+\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {5 \sqrt {d^2-e^2 x^2}}{2 d^5 x^2}+\frac {\int \frac {-16 d^4 e^5+15 d^3 e^6 x}{x^2 \sqrt {d^2-e^2 x^2}} \, dx}{6 d^8 e^4}\\ &=\frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}}+\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {5 \sqrt {d^2-e^2 x^2}}{2 d^5 x^2}+\frac {8 e \sqrt {d^2-e^2 x^2}}{3 d^6 x}+\frac {\left (5 e^2\right ) \int \frac {1}{x \sqrt {d^2-e^2 x^2}} \, dx}{2 d^5}\\ &=\frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}}+\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {5 \sqrt {d^2-e^2 x^2}}{2 d^5 x^2}+\frac {8 e \sqrt {d^2-e^2 x^2}}{3 d^6 x}+\frac {\left (5 e^2\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {d^2-e^2 x}} \, dx,x,x^2\right )}{4 d^5}\\ &=\frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}}+\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {5 \sqrt {d^2-e^2 x^2}}{2 d^5 x^2}+\frac {8 e \sqrt {d^2-e^2 x^2}}{3 d^6 x}-\frac {5 \text {Subst}\left (\int \frac {1}{\frac {d^2}{e^2}-\frac {x^2}{e^2}} \, dx,x,\sqrt {d^2-e^2 x^2}\right )}{2 d^5}\\ &=\frac {5 d-4 e x}{3 d^4 x^2 \sqrt {d^2-e^2 x^2}}+\frac {1}{3 d^2 x^2 (d+e x) \sqrt {d^2-e^2 x^2}}-\frac {5 \sqrt {d^2-e^2 x^2}}{2 d^5 x^2}+\frac {8 e \sqrt {d^2-e^2 x^2}}{3 d^6 x}-\frac {5 e^2 \tanh ^{-1}\left (\frac {\sqrt {d^2-e^2 x^2}}{d}\right )}{2 d^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.35, size = 124, normalized size = 0.82 \begin {gather*} \frac {\frac {\sqrt {d^2-e^2 x^2} \left (3 d^4-3 d^3 e x-23 d^2 e^2 x^2+d e^3 x^3+16 e^4 x^4\right )}{x^2 (-d+e x) (d+e x)^2}+30 e^2 \tanh ^{-1}\left (\frac {\sqrt {-e^2} x-\sqrt {d^2-e^2 x^2}}{d}\right )}{6 d^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(324\) vs.
\(2(132)=264\).
time = 0.09, size = 325, normalized size = 2.14
method | result | size |
risch | \(-\frac {\sqrt {-e^{2} x^{2}+d^{2}}\, \left (-2 e x +d \right )}{2 d^{6} x^{2}}+\frac {23 e \sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}{12 d^{6} \left (x +\frac {d}{e}\right )}-\frac {e \sqrt {-\left (x -\frac {d}{e}\right )^{2} e^{2}-2 d \left (x -\frac {d}{e}\right ) e}}{4 d^{6} \left (x -\frac {d}{e}\right )}-\frac {5 e^{2} \ln \left (\frac {2 d^{2}+2 \sqrt {d^{2}}\, \sqrt {-e^{2} x^{2}+d^{2}}}{x}\right )}{2 d^{5} \sqrt {d^{2}}}+\frac {\sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}{6 d^{5} \left (x +\frac {d}{e}\right )^{2}}\) | \(206\) |
default | \(-\frac {e^{2} \left (-\frac {1}{3 d e \left (x +\frac {d}{e}\right ) \sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}-\frac {-2 e^{2} \left (x +\frac {d}{e}\right )+2 d e}{3 e \,d^{3} \sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}\right )}{d^{3}}+\frac {-\frac {1}{2 d^{2} x^{2} \sqrt {-e^{2} x^{2}+d^{2}}}+\frac {3 e^{2} \left (\frac {1}{d^{2} \sqrt {-e^{2} x^{2}+d^{2}}}-\frac {\ln \left (\frac {2 d^{2}+2 \sqrt {d^{2}}\, \sqrt {-e^{2} x^{2}+d^{2}}}{x}\right )}{d^{2} \sqrt {d^{2}}}\right )}{2 d^{2}}}{d}-\frac {e \left (-\frac {1}{d^{2} x \sqrt {-e^{2} x^{2}+d^{2}}}+\frac {2 e^{2} x}{d^{4} \sqrt {-e^{2} x^{2}+d^{2}}}\right )}{d^{2}}+\frac {e^{2} \left (\frac {1}{d^{2} \sqrt {-e^{2} x^{2}+d^{2}}}-\frac {\ln \left (\frac {2 d^{2}+2 \sqrt {d^{2}}\, \sqrt {-e^{2} x^{2}+d^{2}}}{x}\right )}{d^{2} \sqrt {d^{2}}}\right )}{d^{3}}\) | \(325\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.63, size = 188, normalized size = 1.24 \begin {gather*} \frac {14 \, x^{5} e^{5} + 14 \, d x^{4} e^{4} - 14 \, d^{2} x^{3} e^{3} - 14 \, d^{3} x^{2} e^{2} + 15 \, {\left (x^{5} e^{5} + d x^{4} e^{4} - d^{2} x^{3} e^{3} - d^{3} x^{2} e^{2}\right )} \log \left (-\frac {d - \sqrt {-x^{2} e^{2} + d^{2}}}{x}\right ) + {\left (16 \, x^{4} e^{4} + d x^{3} e^{3} - 23 \, d^{2} x^{2} e^{2} - 3 \, d^{3} x e + 3 \, d^{4}\right )} \sqrt {-x^{2} e^{2} + d^{2}}}{6 \, {\left (d^{6} x^{5} e^{3} + d^{7} x^{4} e^{2} - d^{8} x^{3} e - d^{9} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{3} \left (- \left (- d + e x\right ) \left (d + e x\right )\right )^{\frac {3}{2}} \left (d + e x\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^3\,{\left (d^2-e^2\,x^2\right )}^{3/2}\,\left (d+e\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________